package zdream.control.input;

/**
 * @author Zdream
 * @date 2023-12-26
 * @since 0.0.1
 */
public class SimpleWorldInput implements WorldInput {
	public final boolean[] keys = new boolean[0x30];

	@Override
	public boolean isMapKeyDown(int mapKey) {
		return keys[mapKey];
	}

	public void setUp(int mapKey) {
		keys[mapKey] = false;
	}

	public void setDown(int mapKey) {
		keys[mapKey] = true;
	}
}
